package com.example.mapper;

import com.example.entity.SlideshowImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: tobed
 * @date: 2022/11/16
 * @time: 15:45
 */
@Mapper
public interface SlideshowImageMapper extends BaseMapper<SlideshowImage> {

    /*轮播图全查*/
    List<SlideshowImage> list(SlideshowImage slideshowImage);

    /*轮播图添加*/
    int create(SlideshowImage slideshowImage);

    void createImage(@Param("url") String url,@Param("id") int id);
}
